<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<header th:replace="admin/header::header-fragment"></header>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
  <div th:replace="admin/header::header-nav"></div>
  <div th:replace="admin/sidebar::sidebar-fragment(${path})"></div>
  <div class="content-wrapper">
    <div class="content-header">
      <div class="container-fluid">
      </div>
    </div>
    <div class="content">
      <div class="container-fluid">
        <div class="card card-primary card-outline">
          <div class="card-header">
            <h3 class="card-title">标签管理</h3>
          </div>
          <div class="card-body">
            <div class="grid-btn">
              <input type="text" class="form-control col-1" id="tagName" name="tagName"
                     placeholder="标签名称" required="true">&nbsp;&nbsp;&nbsp;
              <button class="btn btn-info" onclick="tagAdd()"><i
                      class="fa fa-plus"></i>&nbsp;增加
              </button>
              <button class="btn btn-danger" onclick="deleteTag()"><i
                      class="fa fa-trash-o"></i>&nbsp;删除
              </button>
            </div>
            <table id="jqGrid" class="table table-bordered">
            </table>
            <div id="jqGridPager"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script th:src="@{/admin/plugins/jquery/jquery.min.js}"></script>
<script th:src="@{/admin/plugins/jQueryUI/jquery-ui.min.js}"></script>
<script th:src="@{/admin/plugins/bootstrap/js/bootstrap.bundle.min.js}"></script>
<script th:src="@{/admin/dist/js/adminlte.min.js}"></script>
<script th:src="@{/admin/plugins/jqgrid-5.5.2/jquery.jqGrid.min.js}"></script>
<script th:src="@{/admin/plugins/jqgrid-5.5.2/grid.locale-cn.js}"></script>
<script th:src="@{/admin/plugins/sweetalert/sweetalert.min.js}"></script>
<script th:src="@{/admin/dist/js/public.js}"></script>
<script th:src="@{/admin/dist/js/tag.js}"></script>
</body>
</html>
